﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UpdateClient.Model;

namespace UpdateClient
{
    public class VersionWindowModel:UpdateClient.ICommandNotify.NotifyBase
    {

		private List<FileModel> DetailsList_;

		public List<FileModel> DetailsList
        {
			get { return DetailsList_; }
			set { DetailsList_ = value;
                SetProperty(ref DetailsList_, DetailsList);
            }
		}
        private List<FileModel> VersionList_;

        public List<FileModel> VersionList
        {
            get { return VersionList_; }
            set { VersionList_ = value; }
        }

        private string path_;

        public string path
        {
            get { return path_; }
            set { path_ = value; }
        }
        private int ProgressBarValue_;
        /// <summary>
        /// 进度条
        /// </summary>
        public int ProgressBarValue
        {
            get { return ProgressBarValue_; }
            set
            {
                ProgressBarValue_ = value;
                SetProperty(ref ProgressBarValue_, ProgressBarValue);
            }
        }
        private string ProgressBarDescribe_;
        /// <summary>
        /// 进度描述
        /// </summary>
        public string ProgressBarDescribe
        {
            get { return ProgressBarDescribe_; }
            set
            {
                ProgressBarDescribe_ = value;
                SetProperty(ref ProgressBarDescribe_, ProgressBarDescribe);
            }
        }
    }
}
